import React from "react";
import style from "./style.module.scss";

interface PropsType {
  title: string;
  children?: JSX.Element;
}
export const WdTitle: React.FC<PropsType> = ({ title, children }) => {
  return (
    <div>
      <div className={style.title}>
        <span className={style.left}></span>
        <b className={style.con}>{title}</b>
      </div>
      {children}
    </div>
  );
};
